FROM registry.cn-guangzhou.aliyuncs.com/cjy-private/ubuntu-jdk:1.8 as builder

RUN mkdir -p /project_name

WORKDIR /project_name

EXPOSE port

ADD /project_name ./

CMD java -jar project_name --spring.profiles.active=active_mode